SpamAssassin by McDonald Alistair

SpamAssassin by McDonald Alistair

Author:McDonald, Alistair [Alistair McDonald]
Language: eng
Format: epub
Publisher: Packt Publishing Ltd


RBLs

A number of RBLs are enabled with the default configuration of SpamAssassin. These are defined in /usr/share/spamassassin/20_dnsbl_tests.cf. An example definition is shown here:

header RCVD_IN_NJABL eval:check_rbl('njabl', 'dnsbl.njabl.org.') describe RCVD_IN_NJABL Received via a relay in dnsbl.njabl.org tflags RCVD_IN_NJABL net

One set of definitions appears for each RBL configured. Rule definitions are explained in more detail in Chapter 12.

All the rules include a line that sets tflags to net. This groups the rules as network tests, and allows SpamAssassin to treat them as a group. There are two main reasons for this. The first is that network tests may take a long time to complete, especially at busy times. SpamAssassin uses a timeout for network tests, but it also applies this timeout in a progressive manner. If most of the network tests have completed, SpamAssassin will not wait for the last tests to complete. Specific details are given in the Mail::SpamAssassin::Conf main page under the rbl_timeout entry. The second reason for grouping all the tests together is so they can be switched on or off with a single configuration directive.

To disable RBL tests, set skip_rbl_checks to 1 in etc/mail/spamassassin/local.cf for a site-wide change, or ~/.spamassassin/user_prefs for a change that influences only one user. To enable RBL tests, set skip_rbl_checks to 0.

skip_rbl_checks 0 rbl_timeout 15



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.